<div class="enderecos view">
<h2><?php  echo __('Endereco'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User'); ?></dt>
		<dd>
			<?php echo $this->Html->link($endereco['User']['id'], array('controller' => 'users', 'action' => 'view', $endereco['User']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Logradouro'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['logradouro']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Numero'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['numero']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Complemento'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['complemento']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Bairro'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['bairro']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Cidade'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['cidade']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Estado'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['estado']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Pais'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['pais']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Cep'); ?></dt>
		<dd>
			<?php echo h($endereco['Endereco']['cep']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Endereco'), array('action' => 'edit', $endereco['Endereco']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Endereco'), array('action' => 'delete', $endereco['Endereco']['id']), null, __('Are you sure you want to delete # %s?', $endereco['Endereco']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Enderecos'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Endereco'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php echo __('Related Users'); ?></h3>
	<?php if (!empty($endereco['User'])): ?>
		<dl>
			<dt><?php echo __('Id'); ?></dt>
		<dd>
	<?php echo $endereco['User']['id']; ?>
&nbsp;</dd>
		<dt><?php echo __('Username'); ?></dt>
		<dd>
	<?php echo $endereco['User']['username']; ?>
&nbsp;</dd>
		<dt><?php echo __('Password'); ?></dt>
		<dd>
	<?php echo $endereco['User']['password']; ?>
&nbsp;</dd>
		<dt><?php echo __('Nome'); ?></dt>
		<dd>
	<?php echo $endereco['User']['nome']; ?>
&nbsp;</dd>
		<dt><?php echo __('Nome Cracha'); ?></dt>
		<dd>
	<?php echo $endereco['User']['nome_cracha']; ?>
&nbsp;</dd>
		<dt><?php echo __('Instituicao'); ?></dt>
		<dd>
	<?php echo $endereco['User']['instituicao']; ?>
&nbsp;</dd>
		<dt><?php echo __('Cargo'); ?></dt>
		<dd>
	<?php echo $endereco['User']['cargo']; ?>
&nbsp;</dd>
		<dt><?php echo __('Endereco Id'); ?></dt>
		<dd>
	<?php echo $endereco['User']['endereco_id']; ?>
&nbsp;</dd>
		<dt><?php echo __('Telefone'); ?></dt>
		<dd>
	<?php echo $endereco['User']['telefone']; ?>
&nbsp;</dd>
		<dt><?php echo __('Estudante'); ?></dt>
		<dd>
	<?php echo $endereco['User']['estudante']; ?>
&nbsp;</dd>
		<dt><?php echo __('Socio'); ?></dt>
		<dd>
	<?php echo $endereco['User']['socio']; ?>
&nbsp;</dd>
		<dt><?php echo __('Minicurso'); ?></dt>
		<dd>
	<?php echo $endereco['User']['minicurso']; ?>
&nbsp;</dd>
		<dt><?php echo __('Material Curso 1'); ?></dt>
		<dd>
	<?php echo $endereco['User']['material_curso_1']; ?>
&nbsp;</dd>
		<dt><?php echo __('Material Curso 2'); ?></dt>
		<dd>
	<?php echo $endereco['User']['material_curso_2']; ?>
&nbsp;</dd>
		<dt><?php echo __('Valor Total'); ?></dt>
		<dd>
	<?php echo $endereco['User']['valor_total']; ?>
&nbsp;</dd>
		<dt><?php echo __('Pago'); ?></dt>
		<dd>
	<?php echo $endereco['User']['pago']; ?>
&nbsp;</dd>
		<dt><?php echo __('Aprensenta Trabalho'); ?></dt>
		<dd>
	<?php echo $endereco['User']['aprensenta_trabalho']; ?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__('Edit User'), array('controller' => 'users', 'action' => 'edit', $endereco['User']['id'])); ?></li>
			</ul>
		</div>
	</div>
	